package com.example.ysy_hooktest;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.util.Log;

public class App extends Application {

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        HookHelper.init(base);
    }

    @Override
    public Resources getResources() {
        Log.e("TAG", "getResources: "+ResUtil.getResources() );
        return ResUtil.getResources()==null?super.getResources():ResUtil.getResources();
    }

}
